#include "pjapiuaaccount.h"

PjApiUaAccount::PjApiUaAccount(std::string username,
                    std::string password,
                    std::string domain,
                    std::string registar,
                    std::string proxy)
    :m_username(username),
    m_password(password),
    m_domain(domain),
    m_registar(registar),
    m_proxy(proxy),
    m_display(username)
{
    if (m_registar == "")
    {
        m_registar = domain;
    }

    if(m_proxy == "")
    {
        m_proxy = domain;
    }

    m_id = -1;
}
